#include <stdio.h>
int main(){
    FILE *fp=fopen("test.txt","r");
    if(fp==NULL){
        printf("file not found");
        return 0;
    }
    char name[20];
    int age;
    char city[20];
    while (fscanf(fp,"%s %d %s",name,&age,city)!=EOF)
    {
        printf("%s %d %s\n",name,age,city);
    
    }


    
    
    

    
    fclose(fp);
    
   
    return 0;
}